package com.woniuxy.third.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel
public class Student {
    @ApiModelProperty(value="uid",required = true,dataType = "int")
    private int id;     //id
    @ApiModelProperty(value="image",required = false,dataType = "string")
    private String image;       //头像
    @ApiModelProperty(value="nickname",required = false,dataType = "string")
    private String nickname;    //昵称
    @ApiModelProperty(value="gender",required = false,dataType = "string")
    private String gender;      //性别
    @ApiModelProperty(value="birthday",required = false,dataType = "date")
    private Date birthday;      //生日
    @ApiModelProperty(value="school",required = false,dataType = "string")
    private String school;      //学校
    @ApiModelProperty(value="intro",required = false,dataType = "string")
    private String intro;       //个人简介
}
